package com.feng.constant;

/**
 * @author: 丰
 * @date: 2022/12/7 15:43
 */
public enum StatusCodeEnum {
    SUCCESS(200, "成功"),
    FAILED(300, "失败"),
    SYSTEMERROR(500, "系统错误");

    private final Integer code;
    private final String msg;

    StatusCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
